package vendas;

import java.util.Iterator;
import java.util.List;
import java.util.ArrayList;

public class Venda {
	
	public static void main(String[] args) {

        // List Example implement with ArrayList
        List<String> teste = new ArrayList<String>();

        teste.add("one");
        teste.add("Three");
        teste.add("two");
        teste.add("four");

        Iterator<String> it=teste.iterator();

        while(it.hasNext())
        {
          String value=(String)it.next();

          System.out.println("Value :"+ value);
        }
    }

}
